Q3ViewerPaste
You can use theQ3ViewerPaste
function to handle the Paste editing command when applied to data previously cut or copied from a viewer object.
OSErr Q3ViewerPaste (TQ3ViewerObject theViewer);
theViewer
- A viewer object.
DESCRIPTION
TheQ3ViewerPaste
function pastes 3D data from the Clipboard into the viewer object specified by thetheViewer
parameter. You should callQ3ViewerPaste
when the user chooses the Paste command in your application's Edit menu (or types the appropriate keyboard equivalent) and the data on the Clipboard was placed there by a previous call toQ3ViewerCut
orQ3ViewerCopy
.SEE ALSO
To determine whether the data on the Clipboard is 3D data or not, you can use theQ3ViewerGetState
function (page 2-27).